package com.lu.design.pattern.creational.builder;

public class Test {

    public static void main(String[] args) {
        CourseBuilder courseBuilder = new CourseActualBuilder();

        Coach coach = new Coach();
        coach.setCourseBuilder(courseBuilder);

        Course course = coach.makeCourse("玩转数据结构", "PPT", "课程视频", "课程笔记", "课程问答");
        System.out.println(course);
    }
}
